]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: Don't call _createPolicy() unconditionally
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 6 Feb 2024 17:10:50 +0000 (18:10 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 9 Feb 2024 11:12:51 +0000 (11:12 +0000)
commitebec609207b84b3334b6ce01ccc97df8b579c6b6
tree2bd880bce6d24a5ffee84ae7b8c3e51f5584140e
parent60fb2de15ffd8addba7c87a7707dea641d6d35d9
messageTray: Don't call _createPolicy() unconditionally

Since commit 932ccac1c27, the Source constructor takes a
properties object instead of individual arguments.

That means that the policy may now be set through a construct
property, and we shouldn't override it if that was the case.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>
js/ui/messageTray.js